package codetop.microsoft.T139;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @Author: 18362
 * @Create: 2022-08-15 12:11:43 星期一
 */
public class M139 {
    public static void main(String[] args) {
        String[] wordList = new String[] {"leet", "code"};
        List<String> list = Arrays.stream(wordList).collect(Collectors.toList());
        System.out.println(new Solution().wordBreak("leetcode", list));
    }
}
